package com.wlz.basic.hashcodeEquals;

import java.util.HashMap;

/**
 * @author wlz
 * @date 2022-08-01  8:16 下午
 */
public class Main {

    public static void main(String[] args) {
        HashMap<User,String> hashMap = new HashMap<User, String>();

        hashMap.put(new User("wlz"), "123");

        System.out.println(hashMap.get(new User("wlz")));
    }
}
